package com.android.router;

import android.app.Application;

import com.android.router.core.AndroidRouter;

public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        AndroidRouter.getInstance().init(this);
        startModule();
    }

    public void startModule() {
        AndroidRouter.getInstance().build("/module1/ModuleApplication").navigation();
        AndroidRouter.getInstance().build("/module2/ModuleApplication").navigation();
    }
}
